package day03;

public class demo1 {
        public static void main(String[] args) {
            Point p1 = new Point(1, 2);
            Point p2 = new Point();


            p1.movePoint(3, 4);
            p2.movePoint(-1, -1);

            // 打印p1和p2的坐标
            System.out.println("p1的坐标是: " + p1);
            System.out.println("p2的坐标是: " + p2);
        }
    }
